fid = fopen('in.dat', 'wb');
fwrite(fid,5.5,'double');
fwrite(fid,1.5,'double');
fwrite(fid,2.5,'double');
fwrite(fid,3.5,'double');
fwrite(fid,4.5,'double');
fclose(fid);
